#ifndef USER_H
#define USER_H

#include <string>

using namespace std;

class User
{
public:
    User(int id_ = -1,
         string name_ = "",
         string password_ = "",
         string state_ = "offline")
    {
        this->id = id_;
        this->name = name_;
        this->password = password_;
        this->state = state_;
    }

    void setId(int id)
    {
        this->id = id;
    }
    void setName(string name)
    {
        this->name = name;
    }
    void setPassword(string password)
    {
        this->password = password;
    }
    void setState(string state)
    {
        this->state = state;
    }

    int getId()
    {
        return id;
    }
    string getName()
    {
        return name;
    }
    string getPassword()
    {
        return password;
    }
    string getState()
    {
        return state;
    }

private:
    int id;
    string name;
    string password;
    string state;
};

#endif